package com.jade.zsy.base.common;

/**
 * Created with IntelliJ IDEA.
 * User: jinya
 * Date: 2017/6/4
 * Time: 21:25
 * TEL :17701640710   MAIL:2009_jinya@163.com
 * To change this template use File | Settings | File Templates.
 */
public class StatusConstant {
    public  static int RECORD_INIT=0;//记录初始化
    public  static int RECORD_NORMAL=1;//正常记录
    public  static int RECORD_CANCEL=9;//记录已撤销
    public  static int RECORD_DELETE=97;//记录已删除
    public  static int RECORD_STOP=99;//记录已停用

    public  static int RECORD_WAIT_SUBMIT=12;//新增待提交
    public  static int RECORD_SUBMIT=15;//已提交
    public  static int RECORD_DISABLED=19;//已作废
    public static String getDesc(int status){
        switch (status){
            case 0:
                return "新增";
            case 1:
                return "正常";
            case 3:
                return "已提交";
            case 12:
                return "待提交";
            case 15:
                return "已提交";
            case 19:
                return "已作废";
            case 97:
                return "已删除";
            case 99:
                return "已停用";
            default:return "";
        }
    }
}
